{% extends "base.html" %}

{% block title %}Groups{% endblock %}

{% block content %}
{{ group_list_header }}


<div class="pagination">
	<span class="step-links">
		{% if page_obj.has_previous %}
			<a href="?page={{ page_obj.previous_page_number }}">previous</a>
		{% endif %}

		<span class="current">
			Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}.
		</span>

		{% if page_obj.has_next %}
			<a href="?page={{ page_obj.next_page_number }}">next</a>
		{% endif %}
	</span>
</div>

<ul>
{% for obj in object_list %}
<li id="obj_{{ obj.pk }}" >
	<a href="{{ obj.get_absolute_url }}">{{ obj }}</a>
{% endfor %}
</ul>
{% endblock %}
